classdef PowerController < handle
    %POWERCONTROLLER Summary of this class goes here
    %   Detailed explanation goes here
    
    properties
        port
        slot
        
        pid_device
        app
    end
    
    methods
        function obj = PowerController(port, slot)
            %POWERCONTROLLER Construct an instance of this class
            %   Detailed explanation goes here
            obj.pid_device = EquipmentControl.AnalyseEquipment.SRS.SIM960(port, slot);
            obj.port = port;
            obj.slot = slot;
            
            L = log4m.getLogger();
            L.info('PowerController', 'Create a PowerController object.');
        end
        
        function gui(obj)
            L = log4m.getLogger();
            L.info('PowerController::gui', 'Starting a PowerControllerPID APP.');
            obj.app = PowerControllerPID(obj.pid_device);
        end
    end
end

